/**
 * Filename: YNNewsNotice.java
 *
 * @author Firefly
 * @contact postfirefly@163.com
 * @time 2016/3/4 12:02
 */
package com.github.postsanf.yinian.bean;

/**
 * 忆年消息通知实体类
 */
public class YNNewsNotice extends BaseBean {
    private int nid;                                        // ID
    private String upic;                                        // 头像
    private String unickname;                                    // 用户名
    private String ncontent;                                    // 通知内容
    private String ntime;                                        // 时间
    private int nstatus;                                    // 通知状态
    private int ntype;                                        // 类型
    private String gimid;                                        // 类型

    public String getGimid() {
        return gimid;
    }

    public void setGimid(String gimid) {
        this.gimid = gimid;
    }

    public int getNid() {
        return nid;
    }

    public void setNid(int nid) {
        this.nid = nid;
    }

    public String getUpic() {
        return upic;
    }

    public void setUpic(String upic) {
        this.upic = upic;
    }

    public String getUnickname() {
        return unickname;
    }

    public void setUnickname(String unickname) {
        this.unickname = unickname;
    }

    public String getNcontent() {
        return ncontent;
    }

    public void setNcontent(String ncontent) {
        this.ncontent = ncontent;
    }

    public String getNtime() {
        return ntime;
    }

    public void setNtime(String ntime) {
        this.ntime = ntime;
    }

    public int getNstatus() {
        return nstatus;
    }

    public void setNstatus(int nstatus) {
        this.nstatus = nstatus;
    }

    public int getNtype() {
        return ntype;
    }

    public void setNtype(int ntype) {
        this.ntype = ntype;
    }

    @Override
    public boolean equals(Object o) {
        if (o instanceof YNNewsNotice) {
            return this.nid == ((YNNewsNotice) o).nid;
        }
        return super.equals(o);
    }
}
